package com.yuda.operationcenter.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("考点资质申请")
public class OperSite{
    @Excel(name = "id")
    @ApiModelProperty("id")
    private Integer id;

    @Excel(name = "学校名称")
    @ApiModelProperty("学校名称")
    private String name;

    @Excel(name = "省份")
    @ApiModelProperty("省份")
    private String provinceName;

    @Excel(name = "城市")
    @ApiModelProperty("城市")
    private String cityName;

    @Excel(name = "具体地址")
    @ApiModelProperty("具体地址")
    private String contactAddr;

    @Excel(name = "联系人")
    @ApiModelProperty("联系人")
    private String contactPerson;

    @Excel(name = "联系电话")
    @ApiModelProperty("联系电话")
    private String contactPhone;

    @Excel(name = "机房数量")
    @ApiModelProperty("机房数量")
    private Integer numberComputerRoom;

    @Excel(name = "机位数量")
    @ApiModelProperty("机位数量")
    private Integer numberPc;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间")
    @ApiModelProperty("申请时间")
    private Date applyTime;

    @Excel(name = "指定考点资质申请表url")
    @ApiModelProperty("指定考点资质申请表url")
    private String siteQualificationApplicationUrl;

    @Excel(name = " 中学资质申请表url")
    @ApiModelProperty("指定考点资质申请表url")
    private String schoolQualificationApplicationUrl;

    @Excel(name = "考点名称")
    private String employName;

    /*@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date CreateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("修改时间")
    private Date UpdateTime;*/


    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public String getContactAddr() {
        return contactAddr;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public Integer getNumberComputerRoom() {
        return numberComputerRoom;
    }

    public Integer getNumberPc() {
        return numberPc;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public String getSiteQualificationApplicationUrl() {
        return siteQualificationApplicationUrl;
    }

    public String getSchoolQualificationApplicationUrl() {
        return schoolQualificationApplicationUrl;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public void setContactAddr(String contactAddr) {
        this.contactAddr = contactAddr;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public void setNumberComputerRoom(Integer numberComputerRoom) {
        this.numberComputerRoom = numberComputerRoom;
    }

    public void setNumberPc(Integer numberPc) {
        this.numberPc = numberPc;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public void setSiteQualificationApplicationUrl(String siteQualificationApplicationUrl) {
        this.siteQualificationApplicationUrl = siteQualificationApplicationUrl;
    }

    public void setSchoolQualificationApplicationUrl(String schoolQualificationApplicationUrl) {
        this.schoolQualificationApplicationUrl = schoolQualificationApplicationUrl;
    }
}
